/**
 * output package name
 */
package com.kingdee.eas.custom;

import com.kingdee.util.NumericExceptionSubItem;
import com.kingdee.eas.common.EASBizException;

/**
 * output class name
 */
public class ExcelImpException extends EASBizException
{
    private static final String MAINCODE = "91";

    public static final NumericExceptionSubItem TEMPLATEINFO_ERROR = new NumericExceptionSubItem("001", "TEMPLATEINFO_ERROR");
    public static final NumericExceptionSubItem HEADTITLE_NOT_FOUND = new NumericExceptionSubItem("002", "HEADTITLE_NOT_FOUND");
    public static final NumericExceptionSubItem HEADTITLE_ERROR = new NumericExceptionSubItem("003", "HEADTITLE_ERROR");
    public static final NumericExceptionSubItem BILLNUMBER_NOT_FOUND = new NumericExceptionSubItem("004", "BILLNUMBER_NOT_FOUND");
    public static final NumericExceptionSubItem OTHERINFO_ERROR = new NumericExceptionSubItem("005", "OTHERINFO_ERROR");
    public static final NumericExceptionSubItem MATERIALINFO_IS_NULL = new NumericExceptionSubItem("006", "MATERIALINFO_IS_NULL");
    public static final NumericExceptionSubItem MATERIALINFO_NOT_FOUND = new NumericExceptionSubItem("007", "MATERIALINFO_NOT_FOUND");

    /**
     * construct function
     * @param NumericExceptionSubItem info
     * @param Throwable cause
     * @param Object[] params
     */
    public ExcelImpException(NumericExceptionSubItem info, Throwable cause, Object[] params)
    {
        super(info, cause, params);
    }

    /**
     * construct function
     * @param NumericExceptionSubItem info,Object[] params
     */
    public ExcelImpException(NumericExceptionSubItem info, Object[] params)
    {
        this(info, null, params);
    }

    /**
     * construct function
     * @param NumericExceptionSubItem info,Throwable cause
     */
    public ExcelImpException(NumericExceptionSubItem info, Throwable cause)
    {
        this(info, cause, null);
    }

    /**
     * construct function
     * @param NumericExceptionSubItem info
     */
    public ExcelImpException(NumericExceptionSubItem info)
    {
        this(info, null, null);
    }

    /**
     * getMainCode function
     */
    public String getMainCode()
    {
        return MAINCODE;
    }
}